﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>费项设置</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">

    <link href="css/add-style.css" rel="stylesheet">
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>收费项目设置</h5>
                        <a data-toggle="modal" href="charge_set.html#modal-form" class="btn btn-primary btn-sm pull-right" style="margin: -7px 7px 0 0;"><i class="fa fa-plus"></i>&nbsp; 创建新费项 </a>
                    </div>
                    <div class="ibox-content">
                        <div class="row m-b-sm">
                            <div class="col-md-10 col-md-offset-2">
                                <div class="input-group">
                                    <input type="text" placeholder="请输入费项名称（支持模糊查询）" class="input-sm form-control">
                                    <span class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-success"><i class="fa fa-search"></i>&nbsp;搜索</button>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <table class="table table-striped table-hover">
                            <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>名称</th>
                                    <th>统计收缴率</th>
                                    <th>启用</th>
                                    <th>费用类型</th>
                                    <th>计算公式</th>
                                    <th>说明</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>010553</td>
                                    <td>物业管理费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td><a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a></td>
                                </tr>
                                <tr>
                                    <td>025463</td>
                                    <td>车位费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>门禁卡费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>垃圾处理费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>物业管理费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>025463</td>
                                    <td>车位费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>门禁卡费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>垃圾处理费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>010553</td>
                                    <td>物业管理费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>025463</td>
                                    <td>车位费</td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td><div class="rule-single-checkbox"><input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" /></div></td>
                                    <td>周期费用</td>
                                    <td>单价*面积</td>
                                    <td>请填写详细说明</td>
                                    <td>
                                        <a data-toggle="modal" href="storage_goods.html#modal-edit" class="text-warning">修改</a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="text-right">
                            <ul class="pagination">
                                <li><a href="#">&laquo;</a></li>
                                <li><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li><a href="#">4</a></li>
                                <li><a href="#">5</a></li>
                                <li><a href="#">&raquo;</a></li>
                                <li><a href="#">页数：1/10</a></li>
                                <li><a href="#">总记录数：1000</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
      <div class="modal fade" id="modal-form" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h5 class="modal-title">创建新费项</h5>
                </div>
                <div class="modal-body">
                     <table  class=" table-border0 table-hover" style="width:100%;">
                         <tbody>
                             <tr>
                                 <th>费用名称</th>
                                 <td><input type="text" value="" class="form-control input-sm"></td>
                                 <th>统计收缴率</th>
                                 <td><div class="rule-single-checkbox single-checkbox"><a href="javascript:;"><i class="off">否</i><i class="on">是</i></a>
                                        <input type="checkbox" name="cbIsSpec" style="display: none;">
                                    </div></td>
                             </tr>
                             <tr>
                                
                                 <th>费用属性</th>
                                 <td><div class="rule-multi-radio">
                                            <span id="cblActionType">
                                                <input id="cblActionType1" type="radio" name="cblActionType" checked="checked" value="Show" />
                                                <label for="cblActionType2">周期性费用</label>
                                                <input id="cblActionType3" type="radio" name="cblActionType" value="View" />
                                                <label for="cblActionType4">临时性费用</label>
                                            </span>
                                        </div></td>
                                 <th>是否启用</th>
                                 <td><div class="rule-single-checkbox single-checkbox"><a href="javascript:;"><i class="off">否</i><i class="on">是</i></a>
                                        <input type="checkbox" name="cbIsSpec" style="display: none;">
                                    </div></td>
                             </tr>
                             <tr>
                                <th>税率</th>
                                 <td><select data-placeholder="税率" class="form-control input-sm m-b chosen-select" tabindex="2" style="width: 120px;">
                                    <option value="100000" hassubinfo="true" selected="selected">3%</option>
                                    <option value="110000" hassubinfo="true">6%</option>
                                    <option value="120000" hassubinfo="true">11%</option>
                                </select></td>
                                 </td>
                                 <th>计算公式</th>
                                 <td> <select data-placeholder="计算公式" class="form-control input-sm m-b chosen-select" tabindex="2" style="width: 120px;">
                                    <option value="100000" hassubinfo="true" selected="selected">单价*面积</option>
                                    <option value="110000" hassubinfo="true">单价*数量</option>
                                    <option value="120000" hassubinfo="true">单价*月数</option>
                                </select></td>
                             </tr>
                             
                             <tr>
                                 <th>说明</th>
                                 <td colspan="3"><input type="text" value="" class="form-control input-sm"></td>
                             </tr>
                         </tbody>
                     </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary demo2">保存</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="modal-edit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h5 class="modal-title">费项修改</h5>
                </div>
                <div class="modal-body">
                     <table  class=" table-border0 table-hover" style="width:100%;">
                         <tbody>
                             <tr>
                                 <th>费用名称</th>
                                 <td><input type="text" value="物业管理费" class="form-control input-sm"></td>
                                 <th>统计收缴率</th>
                                 <td><div class="rule-single-checkbox single-checkbox"><a href="javascript:;"><i class="off">否</i><i class="on">是</i></a>
                                        <input type="checkbox" name="cbIsSpec" style="display: none;">
                                    </div></td>
                             </tr>
                             <tr>
                                
                                 <th>费用属性</th>
                                 <td><div class="rule-multi-radio">
                                            <span id="cblActionType">
                                                <input id="cblActionType1" type="radio" name="cblActionType" checked="checked" value="Show" />
                                                <label for="cblActionType2">周期性费用</label>
                                                <input id="cblActionType3" type="radio" name="cblActionType" value="View" />
                                                <label for="cblActionType4">临时性费用</label>
                                            </span>
                                        </div></td>
                                 <th>是否启用</th>
                                 <td><div class="rule-single-checkbox single-checkbox"><a href="javascript:;"><i class="off">否</i><i class="on">是</i></a>
                                        <input type="checkbox" name="cbIsSpec" style="display: none;">
                                    </div></td>
                             </tr>
                             <tr>
                                <th>税率</th>
                                 <td><select data-placeholder="税率" class="form-control input-sm m-b chosen-select" tabindex="2" style="width: 120px;">
                                    <option value="100000" hassubinfo="true" selected="selected">3%</option>
                                    <option value="110000" hassubinfo="true">6%</option>
                                    <option value="120000" hassubinfo="true">11%</option>
                                </select></td>
                                 </td>
                                 <th>计算公式</th>
                                 <td> <select data-placeholder="计算公式" class="form-control input-sm m-b chosen-select" tabindex="2" style="width: 120px;">
                                    <option value="100000" hassubinfo="true" selected="selected">单价*面积</option>
                                    <option value="110000" hassubinfo="true">单价*数量</option>
                                    <option value="120000" hassubinfo="true">单价*月数</option>
                                </select></td>
                             </tr>
                             
                             <tr>
                                 <th>说明</th>
                                 <td colspan="3"><input type="text" value="" class="form-control input-sm"></td>
                             </tr>
                         </tbody>
                     </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary demo2">保存</button>
                </div>
            </div>
        </div>
    </div>
    
    


    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/common.js"></script>
    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script type="text/javascript">
   // 使页面中所有.modal元素在窗口可视范围之内居中
        function centerModals() {
            $('.modal').each(function (i) {
                var $clone = $(this).clone().css('display', 'block').appendTo('body');
                var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2);
                top = top > 50 ? top : 0;
                $clone.remove();
                $(this).find('.modal-content').css("margin-top", top - 50);
            });
        }
        // 在模态框出现的时候调用垂直居中函数
        $('.modal').on('show.bs.modal', centerModals);
        // 在窗口大小改变的时候调用垂直居中函数
        $(window).on('resize', centerModals);

    
       //--动画效果--
        $(document).ready(function () {
            $('.contact-box').each(function () {
                animationHover(this, 'pulse');
            });
        });
    </script>


    <!-- Data picker -->
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>


         <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        //-- 小弹框--
        $('.demo2').click(function () {

            swal({
                title: "保存成功！",
                type: "success"
            });
        });

        $('.demo4').click(function () {
            swal({
                title: "您确定要删除这条信息吗",
                text: "删除后将无法恢复，请谨慎操作！",
                type: "warning",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "删除",
                closeOnConfirm: false
            }, function () {
                swal("删除成功！", "您已经永久删除了这条信息。", "success");
            });
        });
    </script>
    <!-- iCheck -->
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
</body>
</html>
